{include file="news/header.tpl"}
<body id="main-body" style="overflow-y:hidden;">
	<div class="" style="width:100%;height:42px;overflow: hidden;">
		<!-- #####头部 开始##### -->
		{include file="news/iframetop.tpl"}
		<!-- #####头部 结束##### -->
	</div>
	<div class="" style="width:100%;height:auto;overflow: hidden;">
		<!-- #####主体左 开始##### -->
		<div class="" style="width:15%;float:left;overflow: hidden;min-height:400px;">
			{include file="news/iframenav.tpl"}
		</div>
		<!-- #####主体左 结束##### -->
		
		<!-- #####主体右 开始##### -->
		<div class="" id="iframe-box" style="margin-left: -8px;width: 85%;float: left;overflow: hidden;"> 

		
			<iframe src="./index.php?factory/c/?mid=1" id="iframe"  style="width:100%;"></iframe>
		</div>		
		<!-- #####主体右 结束##### -->
	</div>
	<!-- start: Content -->
</body>
{literal}<script type="text/javascript"> 
	var winWidth = 0; 
	var winHeight = 0;  
	function findDimensions() //函数：获取尺寸 
	{  
		//获取窗口宽度  
		if (window.innerWidth)
			winWidth = window.innerWidth;  
			else if ((document.body) && (document.body.clientWidth)) 
			winWidth = document.body.clientWidth; 
			//获取窗口高度  
		if (window.innerHeight)  
			winHeight = window.innerHeight;  
		else if ((document.body) && (document.body.clientHeight)) 
			winHeight = document.body.clientHeight;  
			//通过深入Document内部对body进行检测，获取窗口大小  
  if (document.documentElement  && document.documentElement.clientHeight && document.documentElement.clientWidth) 
  {
	winHeight = document.documentElement.clientHeight; 
	winWidth = document.documentElement.clientWidth; 
	}  
	//结果输出到指定ID
	document.getElementById("main-body").style.width= winWidth+"px";//赋值宽度值
	document.getElementById("main-body").style.height= winHeight+"px"; //赋值高度值
	document.getElementById("iframe").style.height= winHeight-42+"px"; //赋值高度值
	document.getElementById("iframe-con").style.height= winHeight-92+"px"; //赋值高度值
  }  
  findDimensions(); 
  //调用函数，获取数值  
  window.onresize=findDimensions;  
  </script>
<script type='text/javascript'>
function setUrl(url,obj){
	$("li").each(function(){
		$(this).removeClass("active");
		})
	$(obj).addClass("active");
	$("#iframe").attr("src",url);	
}
</script>
{/literal}
{include file="news/footer.tpl"}